import { BaseService, Service } from '@/core';

@Service('app/wechatApplet')
export default class extends BaseService {
    login(params) {
        return this.request({
            url: '/login',
            method: 'GET',
            params: params
        });
    }

    addVisitRecordUnAuthorized(params) {
        return this.request({
            url: '/addVisitRecordUnAuthorized',
            params
        });
    }

    saveTemplateStatus(data) {
        return this.request({
            url: '/saveTemplateStatus',
            method: 'POST',
            data
        });
    }
}
